//
//  LeUtils.h
//  Leste
//
//  Created by 王乐 on 2022/1/26.
//

#ifndef LeUtils_hpp
#define LeUtils_hpp

class LeTextureLoader
{
public:
    unsigned int loadTexture(const char *path);
};

#include "glm/glm.hpp"

class LeMath
{
public:
    LeMath();
    ~LeMath();

public:
    static int getRandomI(int min, int max);
    static float getRandomF(float min, float max);

    static float lerpFloat(float x0, float x1, float ratio);
    static glm::vec3 lerpVec3(glm::vec3 v0, glm::vec3 v1, float ratio);

    static float absFloat(float x);

private:
    static unsigned LeSeed;
};

class LeSeed
{
public:
    LeSeed();
};

#endif /* LeUtils_hpp */
